load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["validation.go"],
    importpath = "github.com/jetstack/cert-manager/test/e2e/framework/helper/validation",
    visibility = ["//visibility:public"],
    deps = [
        "//test/e2e/framework/helper/featureset:go_default_library",
        "//test/e2e/framework/helper/validation/certificates:go_default_library",
        "//test/e2e/framework/helper/validation/certificatesigningrequests:go_default_library",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//test/e2e/framework/helper/validation/certificates:all-srcs",
        "//test/e2e/framework/helper/validation/certificatesigningrequests:all-srcs",
    ],
    tags = ["automanaged"],
    visibility = ["//visibility:public"],
)
